package com.uphone.kingmall.bean;

import java.util.List;

/**
 * <pre>
 *     author : radish
 *     e-mail : 15703379121@163.com
 *     time   : 2019/3/16
 *     desc   :
 * </pre>
 */
public class FlashSalesListBean {

    /**
     * msg : ok
     * current : 1
     * code : 0
     * pages : 1
     * data : [{"goodsId":5,"goodsMainImg":"http://192.168.1.251:8082/upload/images/goods/5c09855bc11a4a228bb18a35ff9bdd04.jpg","goodsName":"限时3","goodsPrice":0.01,"goodsSaleNum":0}]
     * count : 1
     * limit : 10
     */

    private String msg;
    private int current;
    private int code;
    private int pages;
    private int count;
    private int limit;
    private List<DataBean> data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCurrent() {
        return current;
    }

    public void setCurrent(int current) {
        this.current = current;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public int getPages() {
        return pages;
    }

    public void setPages(int pages) {
        this.pages = pages;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * goodsId : 5
         * goodsMainImg : http://192.168.1.251:8082/upload/images/goods/5c09855bc11a4a228bb18a35ff9bdd04.jpg
         * goodsName : 限时3
         * goodsPrice : 0.01
         * goodsSaleNum : 0
         */

        private int goodsId;
        private String goodsMainImg;
        private String goodsName;
        private double goodsPrice;
        private int goodsSaleNum;

        public int getGoodsId() {
            return goodsId;
        }

        public void setGoodsId(int goodsId) {
            this.goodsId = goodsId;
        }

        public String getGoodsMainImg() {
            return goodsMainImg;
        }

        public void setGoodsMainImg(String goodsMainImg) {
            this.goodsMainImg = goodsMainImg;
        }

        public String getGoodsName() {
            return goodsName;
        }

        public void setGoodsName(String goodsName) {
            this.goodsName = goodsName;
        }

        public double getGoodsPrice() {
            return goodsPrice;
        }

        public void setGoodsPrice(double goodsPrice) {
            this.goodsPrice = goodsPrice;
        }

        public int getGoodsSaleNum() {
            return goodsSaleNum;
        }

        public void setGoodsSaleNum(int goodsSaleNum) {
            this.goodsSaleNum = goodsSaleNum;
        }
    }
}
